$(function(){
  layui.use(['jquery','form','layer','element'], function(){
      var $ = layui.jquery,
        form= layui.form(),
        layer = layui.layer,
        element = layui.element();

$(".left-1").on("click",  function() {
          layer.open({
            type:2
            ,fix: false
        //  , closeBtn:0
            ,shade:[0.1, '#fff'] //遮罩透明度
            ,area:['355px', '280px']
         ,title:['添加成员','font-weight:600;text-align:center;font-size:16px;border-radius:10px;']
            ,content: 'add.html'
        });
      });

      //添加小区
      $("#add-ads").on("click",  function() {
        layer.open({
          type:2
          ,fix: false
          ,shade:[0.1, '#fff'] //遮罩透明度
          ,area:['300px', '380px']
      ,title:['新增小区','font-weight:600;text-align:center;font-size:16px;border-radius:10px;']
          ,content: 'add-village.html'
      });
    })

  });

  //查询功能





















})

